package com.foreknow.elm.service;

import com.foreknow.elm.po.Cart;

import java.util.List;

/**
 * @author 啊滨
 * @date 2023/2/15 10:38
 */
public interface CartService {
    public List<Cart> listCart(String userId, Integer businessId);

    public int saveCart(String userId,Integer businessId,Integer foodId);

    public int updateCart(String userId,Integer businessId,Integer foodId,Integer quantity);

    public int removeCart(String userId,Integer businessId,Integer foodId);


}
